package com.service.scheduling.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.service.dao.enums.CoinsEnum;
import com.service.dao.model.JournalAccount;
import com.service.dao.model.MemberStore;
import com.service.scheduling.dto.MemberStoreChange;

import java.time.LocalDate;
import java.util.Date;
import java.util.List;

/**
 * <dl>
 * <dt>back-end</dt>
 * <dd>Description:</dd>
 * <dd>Copyright: Copyright (C) 2015</dd>
 * <dd>Company: </dd>
 * <dd>CreateDate: 2019年09月24日</dd>
 * </dl>
 *
 * @author
 */
public interface MemberStoreService extends IService<MemberStore> {

    MemberStore getMemberStore(Integer memberId, String coinsName);

    MemberStore getMemberStore(Integer memberId, CoinsEnum coin);

    Integer changeMemberStore(MemberStoreChange memberStoreChange);

    List<JournalAccount> getMiningRecord(Integer memberId, Integer orderId, Date someDay);

    List<JournalAccount> getFrostMiningRecord(Integer memberId, Integer orderId, Date someDay);
}
